package com.hibase.core.rule.entity.ruletable.query;

import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import java.util.Map;

/**
 * 描述:
 *
 * @author li-wei-hua
 * @date 2020-04-10 15:27
 */
@Data
@ApiModel(value = "RuleTableDataUpdateVO", description = "动态表页面数据修改对象")
@HibaseValid
public class RuleTableDataUpdateVO {

    // todo
    @ApiModelProperty(value = "id")
    @NotBlank(message = "请选择要修改记录")
    private String id;

    @ApiModelProperty(value = "数据json")
    @NotEmpty(message = "数据不能为空")
    Map<String,Object> data;


}
